package com.acegear.horizon.domain.repository.jpa;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.acegear.horizon.domain.models.jpa.OperateLog;

public interface OperateRespository extends PagingAndSortingRepository<OperateLog, Long> {
	
	List<OperateLog> findOperateListByClubId(Long clubId);
	
	Page<OperateLog> findOperateListByClubIdAndOperatetimeBetween(Long clubId, Long startDate, Long endDate, Pageable pageable);
}
